﻿using System.ComponentModel;
using Zdap.XCode;

namespace WorldDesign.Datas
{


    /// <summary>
    /// 
    /// </summary>
    public class SourceDto
    {
        /// <summary>
        /// 
        /// </summary>
        public required ComSource Source { get; set; }

    }
    /// <summary>
    /// 
    /// </summary>
    public class ComSource
    {
        /// <summary>
        /// 
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public long ProjectId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public long ComId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? Type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [JsonField("Config")] // 明确指定存储字段
        public dynamic? Config { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [JsonField("PageFilters")] // 明确指定存储字段
        public dynamic? PageFilters { get; set; }

    }

}